﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ListWorkPlan.aspx.cs" Inherits="lcs.Web.workPlan.ListWorkPlan" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="../../css/myStyle.css" rel="stylesheet" />
    <link href="../style.css" type="text/css" rel="stylesheet" />
    <script src="../Scripts/JsTools.js"></script>
    <style type="text/css">
        .auto-style1 {
            font-size: 14px;
        }

        .auto-style2 {
            text-align: center;
            margin-top: 10px;
            margin-bottom: 10px;
        }

        .marginTB {
            margin-bottom: 10px;
            margin-top: 10px;
        }
    </style>
</head>
<body style="font-size: 12px;">
    <form id="form1" runat="server">
        <div>
            <div class="auto-style2">
                <strong><span class="auto-style1">工作计划列表</span></strong>
            </div>
            <div class="marginTB" style="text-align:center;">
                 <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CssClass="gv"
                    onrowcommand="GridView1_RowCommand" Width="100%" AllowPaging="True" 
                    onpageindexchanging="GridView1_PageIndexChanging" PageSize="30" OnRowDataBound="GridView1_RowDataBound">
                    <Columns>
                        <asp:TemplateField HeaderText="操作">
                            <ItemTemplate>
                                <asp:LinkButton ID="lbn_check" runat="server" CommandArgument='<%# Bind("workplan_id") %>' CommandName="lbn_check" ForeColor="Blue">审核</asp:LinkButton>
                                &nbsp;<asp:LinkButton ID="lbn_look" runat="server" CommandArgument='<%# Bind("workplan_id") %>' CommandName="lbn_look" ForeColor="Blue">查看</asp:LinkButton>
                                &nbsp;
                                <asp:LinkButton ID="lbn_up" runat="server" CommandArgument='<%# Bind("workplan_id") %>' CommandName="lbn_up"  Visible="false" ForeColor="Blue">修改</asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="workplan_title" HeaderText="标题" />
                        <asp:BoundField DataField="workplan_type" HeaderText="计划类型" />
                        <asp:BoundField DataField="user_name" HeaderText="提交人" />
                        <asp:BoundField DataField="submit_time" HeaderText="提交时间" />
                        <asp:TemplateField HeaderText="审核状态">
                            <ItemTemplate>
                                <asp:Label ID="lbl_checkstep" runat="server" Text='<%# Bind("check_step") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                     <PagerStyle CssClass="mypager" />
                </asp:GridView>
            </div>

        </div>
    </form>
</body>
</html>
